#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include"xh.h"
int main() {
	List list = creatlist();
	Initemlast(list, 2);
	printf("\n-----------------------Initemfirst-------------------\n");
	int i = 0;
	for (i = 1; i < 10; i++)
	Initemfirst(list, i);
	print(list);

	printf("\n-----------------------Insert-------------------\n");
	position P = find(list, 5);
	Insert(list, 99,P);
	print(list);

	printf("\n-----------------------deletNode-------------------\n");
	deletNode(list, 99);
	print(list);

	printf("\n-----------------------deletlist-------------------\n");
	deletlist(list);
	print(list);
	return 0;
}